﻿@model List<Menu_ShowDTO>
{
    "status": "success",
    "timestamp": "@(DateTime.Now.ToString())",
    "sendData": {
        "navMenus": [

            @foreach (var item in Model)
            {
                <text>
                    {
                    "id": "@(item.Id)",
                    "name": "@(item.Name)",
                    "parent_id": "@(item.ParentId)",
                    "route": "@(item.PagePath)",
                    "isMenuItem": @(2 == item.Type ? "true" : "false"),
                    "icon": "@(item.Icon)"
                    }@((Model.IndexOf(item) != Model.Count - 1) ? "," : "")
                </text>
            }

     @*,{
        "id": "111111111113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "121111111113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111311113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111151113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111161113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111117113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111311113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "151111311113261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "111111311113yy1e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e1ttttttt5e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e132613333556569b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e13261e0gfgdgf9b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e13261e01543grt5e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "kuk767te13261e015e13469b7e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e13261e015ytry5e0003",
        "name": "测试",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e13261yutytttb7e0003",
        "name": "测试2",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },{
        "id": "2c9180895e137989564fgg7e0003",
        "name": "测试1",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    }*@
@*{
        "id": "2c9180895e13261e015e13469b7e0002",
        "name": "系統管理",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0003",
        "name": "账号管理",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "sys/account",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0004",
        "name": "角色管理",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "sys/role",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0005",
        "name": "菜單权限",
        "parent_id": "2c9180895e13261e015e13469b7e0433",
        "route": "sys/permission/menu",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0454",
        "name": "字典管理",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "sys/dictionary",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e1111",
        "name": "Echarts Demo",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "sys/echartsDemo",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0044",
        "name": "百度一下",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "http://www.baidu.com",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0045",
        "name": "菜單管理嵌套",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "route": "iframe:sys/menu",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0433",
        "name": "权限管理",
        "parent_id": "2c9180895e13261e015e13469b7e0002",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },
    {
        "id": "2c9180895e13261e015e13469b7e0222",
        "name": "Api权限",
        "parent_id": "2c9180895e13261e015e13469b7e0433",
        "route": "sys/permission/apiPermission",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "4c9189655e13261e015e13469b7e0002",
        "name": "ESD管控系统",
        "parent_id": "0",
        "route": "",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },
    {
        "id": "563280895e13261e015e13469b7e0222",
        "name": "ESD设备",
        "parent_id": "4c9189655e13261e015e13469b7e0002",
        "isMenuItem": false,
        "icon": "el-icon-receiving"
    },
    {
        "id": "78965415e13261e015e13469b7e0222",
        "name": "设备基本信息",
        "parent_id": "563280895e13261e015e13469b7e0222",
        "route": "esdControl/device/baseInfo",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "d6dd6d6dsd13261e015e13469b7e022",
        "name": "屏显组配置",
        "parent_id": "563280895e13261e015e13469b7e0222",
        "route": "esdControl/device/displayGroup",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "563280895e13261e015e13iiiii222",
        "name": "ESD看板",
        "parent_id": "4c9189655e13261e015e13469b7e0002",
        "route": "esdControl/esdDisplay",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    },
    {
        "id": "563280895e13264569855582ii2227",
        "name": "屏蔽人员管控",
        "parent_id": "4c9189655e13261e015e13469b7e0002",
        "route": "esdControl/shieldControl",
        "isMenuItem": true,
        "icon": "el-icon-receiving"
    }*@
        ]
    }
}